package com.ourteam.system.dao;

import net.dao.IDataAccessInterface;


/**
 * Template Name : DAO接口模板
 * Template Version : 1
 * Template Last Modfiy Date : Thu Sep 21 11:14:14 CST 2017
 * Auto Generate Date : 2018-07-31 15:13:18
  * Warning ! This file will be overwrite when regenerate !
  *
 */
public interface IBaseSysUserRoleRelateDAO extends IDataAccessInterface<SysUserRoleRelate, SysUserRoleRelateDAOQueryBean> {
    /**
        *  Mapped Entity Name
        */
    static final String EntityName = "SYS_USER_ROLE_RELATE";

    /**
     * Mapped Field ID
    */
    static final String Id = "SYS_USER_ROLE_RELATE.ID";

    /**
     * Mapped Field EXPIRED_DATE
    */
    static final String ExpiredDate = "SYS_USER_ROLE_RELATE.EXPIRED_DATE";

    /**
     * Mapped Field REMARKS
    */
    static final String Remarks = "SYS_USER_ROLE_RELATE.REMARKS";

    /**
     * Mapped Field ROLE_ID
    */
    static final String RoleId = "SYS_USER_ROLE_RELATE.ROLE_ID";

    /**
     * Mapped Field STATUS
    */
    static final String Status = "SYS_USER_ROLE_RELATE.STATUS";

    /**
     * Mapped Field USER_ID
    */
    static final String UserId = "SYS_USER_ROLE_RELATE.USER_ID";

    /**
     * Mapped Attribute roleCode
    */
    static final String RoleCode = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysAllRoleDAO.RoleCode,
            com.ourteam.system.dao.ISysAllRoleDAO.EntityName + ".",
            "SYS_ALL_ROLE.");

    /**
     * Mapped Attribute roleName
    */
    static final String RoleName = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysAllRoleDAO.RoleName,
            com.ourteam.system.dao.ISysAllRoleDAO.EntityName + ".",
            "SYS_ALL_ROLE.");

    /**
     * Mapped Attribute roleType
    */
    static final String RoleType = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysAllRoleDAO.RoleType,
            com.ourteam.system.dao.ISysAllRoleDAO.EntityName + ".",
            "SYS_ALL_ROLE.");

    /**
     * Mapped Attribute domainId
    */
    static final String DomainId = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysAllRoleDAO.DomainId,
            com.ourteam.system.dao.ISysAllRoleDAO.EntityName + ".",
            "SYS_ALL_ROLE.");

    /**
     * Mapped Attribute domainName
    */
    static final String DomainName = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysDomainDAO.DomainName,
            com.ourteam.system.dao.ISysDomainDAO.EntityName + ".", "SYS_DOMAIN.");

    /**
     * Mapped Attribute domainCode
    */
    static final String DomainCode = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysDomainDAO.DomainCode,
            com.ourteam.system.dao.ISysDomainDAO.EntityName + ".", "SYS_DOMAIN.");

    /**
     * Delete Data
     * @param final long id
     * @throws Exception
     */
    void delete(final long id) throws Exception;

    /**
         * Find Data By Primary Key
         * @param  final long id
         * @throws Exception
         */
    SysUserRoleRelate findById(final long id) throws Exception;

    static public interface DataProperty {
        /**
         * Attribute domainName
         */
        static final String DomainName = "domainName";

        /**
         * Attribute domainCode
         */
        static final String DomainCode = "domainCode";

        /**
         * Attribute domainId
         */
        static final String DomainId = "domainId";

        /**
         * Attribute id
         */
        static final String Id = "id";

        /**
         * Attribute expiredDate
         */
        static final String ExpiredDate = "expiredDate";

        /**
         * Attribute remarks
         */
        static final String Remarks = "remarks";

        /**
         * Attribute roleId
         */
        static final String RoleId = "roleId";

        /**
         * Attribute roleType
         */
        static final String RoleType = "roleType";

        /**
         * Attribute status
         */
        static final String Status = "status";

        /**
         * Attribute userId
         */
        static final String UserId = "userId";

        /**
         * Attribute roleCode
         */
        static final String RoleCode = "roleCode";

        /**
         * Attribute roleName
         */
        static final String RoleName = "roleName";
    }

    static public interface _DataObjectProperty extends DataProperty {
    }
}
